import {ITile} from "../Levels";
import Singleton from "../Base/Singleton";
import {TileMapManager} from "../Scripts/Tile/TileMapManager";

export default class DataManager extends Singleton{

    static get Instance() {
        return super.GetInstance<DataManager>();
    }
    mapInfo: Array<Array<ITile>>;
    tileInfo: Array<Array<TileMapManager>>;
    mapRowCount: number = 0;
    mapColumnCount: number = 0;
    levelIndex: number = 1;

    reset() {
        this.mapInfo = [];
        this.mapColumnCount = 0;
        this.mapRowCount = 0;
    }

}
